package cate.game.train.furniture.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.furniture.Furniture;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "英雄摆放手办の 返回")
public class FurnitureOnResp implements MsgOutput {

    @NoteField(value = "英雄uid")
    public String heroUid;

    @NoteField(value = "本次摆放的手办")
    public Map<Byte, Furniture> furnitureMap;

    public FurnitureOnResp(){

    }

    public FurnitureOnResp(String heroUid, Map<Byte,Furniture> furnitureMap){
        this.heroUid = heroUid;
        this.furnitureMap = furnitureMap;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.HERO_FURNITURE_ON_RESP;
    }
}
